<template>
    <div class="account">
        <v-head @back="back" @dele="dele"></v-head>
        <v-scroll></v-scroll>
    </div>
</template>

<script>
import vHead from "@/components/account/component/vhead.vue";
import vScroll from "@/components/account/component/vscroll.vue";
export default {
    inject: ['reload'],
    components: {
        vHead,
        vScroll
    },
    methods: {
        back() {
            this.$router.go(-1);
            this.refresh();
            console.log("back");
        },
        dele() {
            console.log("dele");
        },

        refresh() {
            this.reload();
        }
    }
}
</script>
<style lang="scss" scoped>
@import "../style/vars.scss";
.account{
    overflow: hidden;
}
</style>
